package dbStruct;

public class DatabaseStructure {
	private Nodes nodes;
	private Connectors connectors;
	private static DatabaseStructure instance;
	
	public static DatabaseStructure getInstance()
	{
		if(instance==null) instance = new DatabaseStructure();
		return instance;
	}
	
	public DatabaseStructure()	{
		nodes = Nodes.getInstance();
		connectors = Connectors.getInstance();
	}

	public Nodes getNodes() {
		return nodes;
	}

	@SuppressWarnings("unused")
	private void setNodes(Nodes nodes) {
		this.nodes = nodes;
	}

	public Connectors getConnectors() {
		return connectors;
	}

	@SuppressWarnings("unused")
	private void setConnectors(Connectors connectors) {
		this.connectors = connectors;
	}
	
}
